using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HoseAdapter.FileParser.Structure
{
    public sealed class NewConditionedOrder
    {
        private String mTimeStamp;

        [FieldLength(6)]
        public String TimeStamp
        {
            get { return mTimeStamp; }
            set { mTimeStamp = value; }
        }

        private String mMessageType;

        [FieldLength(2)]
        public String MessageType
        {
            get { return mMessageType; }
            set { mMessageType = value; }
        }

        private String mFirm;

        [FieldLength(3)]
        public String Firm
        {
            get { return mFirm; }
            set { mFirm = value; }
        }

        private String mTradeID;

        [FieldLength(4)]
        public String TradeID
        {
            get { return mTradeID; }
            set { mTradeID = value; }
        }

        private String mOrderNumber;

        [FieldLength(8)]
        public String OrderNumber
        {
            get { return mOrderNumber; }
            set { mOrderNumber = value; }
        }

        private String mClientID;

        [FieldLength(10)]
        public String ClientID
        {
            get { return mClientID; }
            set { mClientID = value; }
        }

        private String mSecuritySymbol;

        [FieldLength(8)]
        public String SecuritySymbol
        {
            get { return mSecuritySymbol; }
            set { mSecuritySymbol = value; }
        }

        private String mSide;

        [FieldLength(1)]
        public String Side
        {
            get { return mSide; }
            set { mSide = value; }
        }

        private String mVolume;

        [FieldLength(8)]
        public String Volume
        {
            get { return mVolume; }
            set { mVolume = value; }
        }

        private String mPublishedVolume;

        [FieldLength(8)]
        public String PublishedVolume
        {
            get { return mPublishedVolume; }
            set { mPublishedVolume = value; }
        }

        private String mPrice;

        [FieldLength(6)]
        public String Price
        {
            get { return mPrice; }
            set { mPrice = value; }
        }

        private String mBoard;

        [FieldLength(1)]
        public String Board
        {
            get { return mBoard; }
            set { mBoard = value; }
        }

        private String mFilter;

        [FieldLength(5)]
        public String Filter
        {
            get { return mFilter; }
            set { mFilter = value; }
        }

        private String mPortClientFlag;

        [FieldLength(1)]
        public String PortClientFlag
        {
            get { return mPortClientFlag; }
            set { mPortClientFlag = value; }
        }

        private String mFilters;

        [FieldLength(5)]
        public String Filters
        {
            get { return mFilters; }
            set { mFilters = value; }
        }

        private Int32 mOffset;

        [FieldLength(4)]
        public Int32 Offset
        {
            get { return mOffset; }
            set { mOffset = value; }
        }
    }
}
